package com.aptemo.webetek.shared;

import com.aptemo.webetek.client.commands.Response;

public class LoginBean implements Response
{

	private String	email;

	private boolean	isLoggedIn;

	private String	loginUrl;

	private String	logoutUrl;

	private boolean	isAdmin;

	protected LoginBean()
	{
	}

	public LoginBean(String email)
	{
		setEmail(email);
	}

	public void setEmail(String email)
	{
		this.email = email;
	}

	public String getEmail()
	{
		return email;
	}

	public void setLoggedIn(boolean isLoggedIn)
	{
		this.isLoggedIn = isLoggedIn;
	}

	public boolean isLoggedIn()
	{
		return isLoggedIn;
	}

	public void setLoginUrl(String loginUrl)
	{
		this.loginUrl = loginUrl;
	}

	public String getLoginUrl()
	{
		return loginUrl;
	}

	public void setLogoutUrl(String logoutUrl)
	{
		this.logoutUrl = logoutUrl;
	}

	public String getLogoutUrl()
	{
		return logoutUrl;
	}

	public boolean isAdmin()
	{
		return isAdmin;
	}

	public void setAdmin(boolean isAdmin)
	{
		this.isAdmin = isAdmin;
	}

}
